package top.infopub.model.bpa;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 项目代付费信息表
 * </p>
 *
 * @author wangkai
 * @since 2021-06-16
 */

public class ProjectAgencyPayment {

    private static final long serialVersionUID = 1L;

    /*("SGUID")*/
    private String id;

    /**
     * 谈判合同名称
     */
    private String contractId;
    /**
     * 子项名称
     */
    private String itemName;
    /**
     * 费用类型
     */
    private String costType;
    /**
     * 子项类别 ITEM_TYPE
     */
    private String itemType;

    /**
     * 子项名称
     */
    //("NAME_ITEM")
    private String nameItem;


    /**
     * 对内合同金额 （元）
     */
    //("INTERNAL_CONTRACT_AMOUNT")
    private BigDecimal internalContractAmount;

    /**
     * 对外合同金额（元）
     */
    //("EXTERNAL_CONTRACT_AMOUNT")
    private BigDecimal externalContractAmount;

    /**
     * 前期已录金额
     */
    //("EARLY_AMOUNT_RECORDED")
    private BigDecimal earlyAmountRecorded;

    /**
     * 开累已录金额
     */
    //("KAILEI_AMOUNT_RECORDED")
    private BigDecimal kaileiAmountRecorded;

    /**
     * 对外合同剩余金额
     */
    //("EXTERNAL_RESIDUAL_AMOUNT")
    private BigDecimal externalResidualAmount;

    /**
     * 类型 1合同评审 2补充协议
     */
    //("TYPE")
    private String type;

    /**
     *排序
     */
    //("SEQ")
    private Integer seq;

    /**
     *排序
     */
    //("SEQ")
    private String idx;

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }
    //IS_CHILD
    private String isChild;

    public String getIsChild() {
        return isChild;
    }

    public void setIsChild(String isChild) {
        this.isChild = isChild;
    }

    /*添加时间*/
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date addTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getCostType() {
        return costType;
    }

    public void setCostType(String costType) {
        this.costType = costType;
    }

    public String getNameItem() {
        return nameItem;
    }

    public void setNameItem(String nameItem) {
        this.nameItem = nameItem;
    }

    public BigDecimal getInternalContractAmount() {
        return internalContractAmount;
    }

    public void setInternalContractAmount(BigDecimal internalContractAmount) {
        this.internalContractAmount = internalContractAmount;
    }

    public BigDecimal getExternalContractAmount() {
        return externalContractAmount;
    }

    public void setExternalContractAmount(BigDecimal externalContractAmount) {
        this.externalContractAmount = externalContractAmount;
    }

    public BigDecimal getEarlyAmountRecorded() {
        return earlyAmountRecorded;
    }

    public void setEarlyAmountRecorded(BigDecimal earlyAmountRecorded) {
        this.earlyAmountRecorded = earlyAmountRecorded;
    }

    public BigDecimal getKaileiAmountRecorded() {
        return kaileiAmountRecorded;
    }

    public void setKaileiAmountRecorded(BigDecimal kaileiAmountRecorded) {
        this.kaileiAmountRecorded = kaileiAmountRecorded;
    }

    public BigDecimal getExternalResidualAmount() {
        return externalResidualAmount;
    }

    public void setExternalResidualAmount(BigDecimal externalResidualAmount) {
        this.externalResidualAmount = externalResidualAmount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
